<template>
	<view class="mons">
		<view class="kv">
			<view class="h1">
				{{content.supplier_one}}
			</view>
			<image :src="content.supplier_pic" mode="widthFix"></image>
			<view class="p" v-html="content.supplier_content">
			</view>
		</view>
		<view class="kvs">
			<view class="h3">
				<view class="b"></view>
				<text>{{content.supplier_contact_title}}</text>
				<view class="b"></view>
			</view>
			<view class="kvsn">
				<view class="v">
					{{content.supplier_contact}}
				</view>
				<!-- <view class="ps">
					电话：0871-63349949 <br>
					传真：0871-63349949 <br>
					邮箱：YNJTWL@YSYJ.com
				</view> -->
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "",
		components: {

		},
		data() {
			return {
				content:{}
			}
		},
		mounted() {
			this.getData()
		},
		methods: {
			getData() {
				let that = this;
				that.$Request.post4(
					that.$api.httpApi.user.supplier
				).then(res => {
					if (res.code == 1) {
						that.content = res.data;
					}
				});
			}
		}

	}
</script>

<style scoped>
	.kvsn {
		width: 555rpx;
		height: 234rpx;
		background: rgba(255, 255, 255, 1);
		margin: auto;
		margin-top: 50rpx;
		padding: 35rpx;
	}

	.kvsn .v {
		font-size: 28rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: rgba(68, 68, 68, 1);
	}

	.kvsn .ps {
		font-size: 26rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: rgba(102, 102, 102, 1);
		line-height: 36rpx;
		margin-top: 15rpx;
	}

	.kvs {
		padding: 25rpx;
	}

	.h3 {
		font-size: 30rpx;
		text-align: center;
		color: #333;
	}

	.h3 .b {
		display: inline-block;
		vertical-align: middle;
		width: 76rpx;
		height: 1px;
		background: #999;
	}

	.h3 text {
		margin-left: 15rpx;
		margin-right: 15rpx;
	}

	.kv {
		background: #fff;
		margin-bottom: 10rpx;
		padding: 25rpx;
	}

	.h1 {
		font-size: 30rpx;
		text-align: center;
	}

	.kv image {
		display: block;
		width: 100%;
		margin-top: 25rpx;
	}

	.kv .p {
		font-size: 30rpx;
		margin-top: 25rpx;
		color: #666;
	}

	uni-page-body {
		height: 100%;
	}

	.mons {
		min-height: 100%;
		background: #EEEEEE;
	}

	.top {
		background: #fff;
		display: flex;
	}
</style>
